#include <string>

#include "node.h"

Node::Node(int index, string name, NType type, int busIndex){
    
    this->index = index;
    this->busIndex = busIndex;
    this->name = name;
    this->type = type;
    
    this->gate = NA;
    this->fanin = 0;
    this->fanout = 0;
    
    this->level = -1;
    this->offset = -1;
    this->logic = X;
    this->cudaLogic = X;

	this->touch = false;
	this->subckt = NULL;
}
